﻿using System;
using System.Collections.Generic;
using System.Data.Linq.Mapping;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Anke.SHManage.Model
{
    [Table(Name = "P_Login_Err")]
    public class P_Login_Err
    {
        private Guid m_Code;
        /// <summary> 
        /// 编码 
        /// </summary> 
        [Column(IsPrimaryKey = true, Name = "Code", DbType = "uniqueidentifier", Storage = "m_Code")]
        public Guid Code
        {
            get { return m_Code; }
            set { m_Code = value; }
        }

        private string m_LoginName;
        /// <summary> 
        /// 编码 
        /// </summary> 
        [Column(Name = "LoginName", DbType = "nvarchar(50) not null", Storage = "m_LoginName", UpdateCheck = UpdateCheck.Never)]
        public string LoginName
        {
            get { return m_LoginName; }
            set { m_LoginName = value; }
        }

        private DateTime m_LoginTime;
        /// <summary> 
        /// 编码 
        /// </summary> 
        [Column(Name = "LoginTime", DbType = "datetime not null", Storage = "m_LoginTime", UpdateCheck = UpdateCheck.Never)]
        public DateTime LoginTime
        {
            get { return m_LoginTime; }
            set { m_LoginTime = value; }
        }

        private Int32 m_LoginErrNum;
        /// <summary> 
        /// 编码 
        /// </summary> 
        [Column(Name = "LoginErrNum", DbType = "int not null", Storage = "m_LoginErrNum", UpdateCheck = UpdateCheck.Never)]
        public Int32 LoginErrNum
        {
            get { return m_LoginErrNum; }
            set { m_LoginErrNum = value; }
        }

        private string m_OperatorType;
        /// <summary> 
        /// 编码 
        /// </summary> 
        [Column(Name = "OperatorType", DbType = "nvarchar(50) not null", Storage = "m_OperatorType", UpdateCheck = UpdateCheck.Never)]
        public string OperatorType
        {
            get { return m_OperatorType; }
            set { m_OperatorType = value; }
        }
    } 
}
